/*
 * UserForm.java
 *
 * Created on October 8, 2008, 11:46 PM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package org.vacuela.publishmx.web.bean;

import org.vacuela.publishmx.domains.User;

/**
 *
 * @author nestor.carrasco
 */
public class UserForm {
   private User userDomain = null;
   private boolean newUser = false;
   private String repeatedPassword;
    
    /** Creates a new instance of UserForm */
    public UserForm(User param) {
        userDomain = param;
        newUser = false;
    }
    
    
     public UserForm() {
        userDomain = new User();
        newUser = true;
    }
    
    public boolean isNewUser(){
        return newUser;
    }
    
    public User getUser(){
        return userDomain;
    }

    public String getRepeatedPassword() {
        return repeatedPassword;
    }

    public void setRepeatedPassword(String repeatedPassword) {
        this.repeatedPassword = repeatedPassword;
    }
}
